CC=gcc
CFLAGS=-Wall -g -I/usr/include
LDFLAGS=-lssl -lcrypto

# 添加所有目标
all:  sm2_openssl

sm2_openssl: sm2_openssl.c
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

clean:
	rm -f sm4_openssl sm3_openssl sm2_openssl *.o
